.wrapper {
    position: relative;

    .navbar {
        position: sticky;
        top: 0;
        z-index: var(--z-index-navbar);
    }
}